package controller;

import org.apache.log4j.Logger;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;



@Controller
@RequestMapping("/welcome")
//能自动判断有没有/
public class IndexController2 {
	public static final Logger log=Logger.getLogger(IndexController2.class);
@RequestMapping("hao123")	
public String test(){
	log.info("我爱SpringMVC");
	return "index";
}	


}
